﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="dailybanhang.aspx.cs" Inherits="dailybanhang" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderHead" Runat="Server">
    <style type="text/css">
        .style1
        {
            width: 80%;
        }
        .style2
        {
            width: 120px;
        }
        .doanhnghiepp
        {
            background-image: url('Images/ico_p.gif');
            background-repeat: no-repeat;
            padding-left: 20px;
        }
        .doanhnghiepf
        {
            background-image: url('Images/ico_pri.gif');
            background-repeat: no-repeat;
            padding-left: 20px;
        }
        .emailcontact
        {
            background-image: url('Images/button_lh.gif');
            background-repeat: no-repeat;
            padding-left: 25px;
            width: 50px;
            height: 18px;
        }
        .style3
        {
            width: 282px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div class="boxNewsHeadBox"><a href="#">CÁC ĐẠI LÝ</a></div>

    <asp:DataList ID="dtldaily" runat="server" Width="100%">
        <FooterTemplate>
            <asp:Label ID="lblEmpty" runat="server" Font-Bold="True" Font-Size="Medium" 
                ForeColor="Red" Text="Đại lý đang cập nhật" 
                Visible="<%# bool.Parse((dtldaily.Items.Count==0).ToString()) %>"></asp:Label>
        </FooterTemplate>
        <ItemTemplate>
       
       <%-- <div style="color:#8a4290; text-align:left; margin-top:3px; font-size:medium;font-weight:bold;border-bottom:2px solid pink">
            <asp:Label ID="Label1" runat="server" Text='<%# Eval("TenDaiLy") %>'></asp:Label></div>
         <div style="padding-left:10px">
            <div>
                <asp:Label ID="Label2" runat="server" Text='<%# Eval("DiaChi") %>'></asp:Label></div>
            <div>
                <asp:Label ID="Label3" runat="server" Text='<%# Eval("DienThoai") %>'></asp:Label></div>
            <div><asp:Label ID="Label4" runat="server" Text='<%# Eval("Email") %>'></asp:Label></div>
            
            <div style="margin-bottom:20px">
                <asp:Label ID="Label5" runat="server" Text='<%# Eval("Mota") %>'></asp:Label>
            </div>
        </div>--%>
         <table class="style1">
                <tr>
                    <td class="style2">
                        
                        <asp:Image ID="Image1" runat="server" Height="110px" 
                ImageUrl='<%# "~/images/DaiLy/"+Eval("Logo") %>' Width="110px" />
                        
                    </td>
                    <td valign="top" class="style3">
                        <asp:HyperLink ID="HyperLink1" runat="server" 
                Font-Bold="True" ForeColor="Blue" 
                Text='<%# Eval("TenDaiLy") %>' Font-Size="13pt"></asp:HyperLink>
                        <br />
                        <asp:Label ID="Label3" runat="server" Text='<%# Eval("DiaChi") %>' 
                            Font-Bold="True"></asp:Label>
                        <br />
                        <div class="doanhnghiepp">
                            <asp:Label ID="Label1" runat="server" Text='<%# Eval("DienThoai") %>'></asp:Label></div>
                        <div class="doanhnghiepf">
                            <asp:Label ID="Label2" runat="server" Text='<%# Eval("Fax") %>'></asp:Label></div>
                        <div style="margin-bottom:20px">
                            <asp:Label ID="Label5" runat="server" Text='<%# Eval("Mota") %>'></asp:Label></div>
                    </td>
                    <td style="float:right;width:80px">
                        <div class="emailcontact" >
                            Email
                        </div>
                    </td>
                </tr>
            </table>
        </ItemTemplate>
    </asp:DataList>

</asp:Content>

